package acm.蓝桥5;

import java.util.Scanner;

public class 摔手机 {
    public static void main(String[] args) {
        Scanner sc=new Scanner(System.in);
        int n = sc.nextInt();
        int res= (int) (Math.log(n)/Math.log(2))+1;
        System.out.println(res);
    }
}
